package cn.thread;

/**
 * @author Mxb
 * @version 1.0
 * @date 2020/7/26 16:21
 */
public class Main {
    public static void main(String[] args) {
        ThreadDemo t = new ThreadDemo();
        ThreadDemo2 t2 = new ThreadDemo2();
        t.setName("线程A");
        t2.setName("线程B");

        t2.start();
        t.start();
        System.out.println("main");
    }
}
